export type FormDataType = {
  [key: string]: any
}

export type GetParamsType = {
  [key: string]: any
}

export type WsmFormPropsType = {
  //加载数据APi
  loadUrl?: string
  //提交API
  submitUrl: string
  //标题
  title: string
  //宽度
  width?: string | number
  //高度
  height?: string | number
  //是否行内表单
  inline?: boolean
  //名字宽度
  labelWidth?: string | number
  //表单label位置
  labelPosition?: string
  beforeSubmit?: Function
  beforeLoad?: Function
  //校验编码
  ruleCode?: string
  //默认数据
  initData?: FormDataType
}
